package com.th.supcom.pds.domain.vo;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.th.supcom.pds.domain.pojo.PdsSupplyDetail;

/**
 * PdsSupplyDetailVO Vo对象.
 * 
 * 科室与药房关系配置.
 * 
 * @author 杨冲
 */
public class PdsSupplyDetailVO extends PdsSupplyDetail implements java.io.Serializable
{
    /**
     * 
     */
    private static final long serialVersionUID = 927688574594039392L;
    /** 库存标志 */
    private String m_stockFlag;
    /** 货位号 */
    private String m_allocation;
    /** 退药数量 */
    private Double m_returnQty;
    /** 摆药方式 */
    private String m_putDrugMode;
    /** 药的处方类型 （冗余 为了分配窗口）：中药 西药 中成药 儿科药 */
    private Integer m_prescClassfication;
    /** 患者ID */
    private String m_patientId;
    /** 患者住院流水号 */
    private Long m_patientVisitId;
    /** 患者来院， 门诊或住院 */
    private Integer m_prescSource;
    /** 处方的总价钱 */
    private Double totalPrice;
    /** 开单科室 */
    private String orderedBy;
    /** 处方是否审核标志 */
    private String checkFlag;

    /**
     * 处方类型：
     * 
     * @return add by Zli
     */
    public Integer getPrescClassfication ()
    {

        return m_prescClassfication;
    }

    public void setPrescClassfication (Integer prescClassfication)
    {

        m_prescClassfication = prescClassfication;
    }

    /**
     * 获取摆药方式
     * 
     * @return add by Zli
     */
    public String getPutDrugMode ()
    {

        return m_putDrugMode;
    }

    /**
     * 设置摆药方式
     * 
     * @param putDrugMode add by Zli
     */
    public void setPutDrugMode (String putDrugMode)
    {

        m_putDrugMode = putDrugMode;
    }

    /**
     * 默认构造器 .
     */
    public PdsSupplyDetailVO ()
    {

    }

    /**
     * 获取退药数量
     * 
     * @return
     */
    public Double getReturnQty ()
    {
        return m_returnQty;
    }

    /**
     * 设置退药数量
     * 
     * @param returnQty
     */
    public void setReturnQty (Double returnQty)
    {
        m_returnQty = returnQty;
    }

    /**
     * 获取库存标志
     * 
     * @return add by Zli
     */
    public String getStockFlag ()
    {

        return m_stockFlag;
    }

    /**
     * 设置库存标志
     * 
     * @param stockFlag add by Zli
     */
    public void setStockFlag (String stockFlag)
    {

        m_stockFlag = stockFlag;
    }

    /**
     * 获取货位号
     * 
     * @return
     */
    public String getAllocation ()
    {
        return m_allocation;
    }

    /**
     * 设置货位号
     * 
     * @param allocation
     */
    public void setAllocation (String allocation)
    {
        m_allocation = allocation;
    }

    /**
     * 获取患者住院号
     * 
     * @return
     */
    public String getPatientId ()
    {
        return this.m_patientId;
    }

    /**
     * 设置患者住院号
     * 
     * @param patientId
     */
    public void setPatientId (String patientId)
    {
        m_patientId = patientId;
    }

    /**
     * 获取患者住院流水号
     * 
     * @return
     */
    public Long getPatientVisitId ()
    {
        return this.m_patientVisitId;
    }

    /**
     * 设置患者住院流水号
     * 
     * @param patientVisitId
     */
    public void setPatientVisitId (Long patientVisitId)
    {
        m_patientVisitId = patientVisitId;
    }

    /**
     * 获取患者类别
     * 
     * @return
     */
    public Integer getPrescSource ()
    {
        return this.m_prescSource;
    }

    /**
     * 设置患者类别
     * 
     * @param patientSouce
     */
    public void setPrescSource (Integer prescSource)
    {
        m_prescSource = prescSource;
    }

    public Double getTotalPrice ()
    {

        return totalPrice;
    }

    public void setTotalPrice (Double totalPrice)
    {

        this.totalPrice = totalPrice;
    }

    public String getOrderedBy ()
    {

        return orderedBy;
    }

    public void setOrderedBy (String orderedBy)
    {

        this.orderedBy = orderedBy;
    }

    /** 日志记录器. */
    public static final Logger s_logger = LoggerFactory.getLogger (PdsSupplyDetailVO.class);

    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, TH Supcom Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";

    public String getCheckFlag ()
    {

        return checkFlag;
    }

    public void setCheckFlag (String checkFlag)
    {

        this.checkFlag = checkFlag;
    }

}